package DesignPatern.A05_建造者模式.QXB.A03高级模式.Builder;

import DesignPatern.A05_建造者模式.QXB.A03高级模式.Product.BMWModel;
import DesignPatern.A05_建造者模式.QXB.A03高级模式.Product.CarModel;

import java.util.ArrayList;

/**
 * @Author: Du
 * @Date: 2021/7/21 10:38
 */
public class BMWBuilder extends CarBuilder
{
    private BMWModel bmwModel = new BMWModel();
    
    @Override
    public void setSequence(ArrayList<String> sequence)
    {
        this.bmwModel.setSequence(sequence);
    }
    
    @Override
    public CarModel getCarModel()
    {
        return this.bmwModel;
    }
}
